package com.wei.czz.common.vo.admin.user;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2023-02-27 21:25:11
 * className: UserRoleVo 用户与角色参数类
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class UserRoleVo extends BaseEntity {

    /**
     * 角色主键
     */
    @NotNull(message = "角色主键不能为空")
    private Long roleId;

    /**
     * 用户主键列表
     */
    @NotNull(message = "用户主键列表不能为空")
    private List<Long> userIdList;

}
